package com.jdsh.encrypt.utils;

import java.math.BigInteger;

public class Signature {

    BigInteger r;
    BigInteger s;


    public Signature(BigInteger r, BigInteger s) {
        super();
        this.r = r;
        this.s = s;
    }


    public BigInteger getR() {
        return r;
    }

    public BigInteger getS() {
        return s;
    }

    @Override
    public String toString() {
        return r.toString(16) + "," + s.toString(16);
    }
}

